package com.example.buildtable.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true)
public class Orders {
    @TableId(type = IdType.AUTO)
    private Integer orderId;
    @TableField(value = "order_recharge_id", target = Recharge.class)
    private Integer orderRechargeId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private Recharge recharge;
    private Integer orderTotalamount;
    private Integer orderStatus;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date orderTime;
    private String orderRemark;
}
